package drawPropertyCommands;

import java.awt.Color;

/**
 * The color modifier will take an input color and modify the given GraphicsProperties.
 * 
 * @author KevinWang
 *
 */
public class ColorModifier implements IDrawModifier {
    private Color color;
    public ColorModifier(Color c){
        color = c;
    }
    
    @Override
    public void modify(GraphicsProperties graphicsProperties) {
        graphicsProperties.setColor(color);
    }

}
